<template>
  <div id="data-view">
    <dv-full-screen-container>
      <!--header-->
      <div class="main-header">
        <div class="mh-left"></div>
        <div class="mh-middle">扬州家政行业监管系统</div>
        <div class="mh-right">
          <div>
            <Dropdown />
          </div>
        </div>
      </div>
      <dv-border-box1 class="main-container">
        <!--left-->
        <dv-border-box4 class="left-chart-container">
          <Left-Chart-1 />
          <Left-Chart-2 />
          <Left-Chart-3 />
        </dv-border-box4>
        <div class="right-main-container">
          <!--right-->
          <div class="rmc-top-container">
            <!--right-top-->
            <dv-border-box4 class="rmctc-left-container">
              <Map />
            </dv-border-box4>
            <!---->
            <div class="rmctc-right-container">
              <dv-border-box4 :reverse="true" class="rmctc-chart-1">
                <Right-Chart-1 />
              </dv-border-box4>
            </div>
          </div>

          <dv-border-box4 class="rmc-bottom-container">
            <Bottom-Charts />
          </dv-border-box4>
        </div>
      </dv-border-box1>
    </dv-full-screen-container>
  </div>
</template>

<script>
import LeftChart1 from './LeftChart1'
import LeftChart2 from './LeftChart2'
import LeftChart3 from './LeftChart3'
import Map from './Map'
import RightChart1 from './RightChart1'
import RightChart2 from './RightChart2'
import BottomCharts from './BottomCharts'
import Dropdown from './Dropdown'

export default {
  name: 'DataView',
  components: {
    LeftChart1,
    LeftChart2,
    LeftChart3,
    Map,
    RightChart1,
    RightChart2,
    BottomCharts,
    Dropdown,
  },
  data() {
    return {}
  }
}
</script>

<style lang="less">
#data-view {
  width: 100%;
  height: 100%;
  background-color: #030409;
  color: #fff;

  #dv-full-screen-container {
    background-image: url("./img/bg.png");
    background-size: 100% 100%;
    box-shadow: 0 0 3px blue;
    display: flex;
    flex-direction: column;
  }

  .main-header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    .mh-left {
      font-size: 20px;
      color: rgb(1, 134, 187);

      a:visited {
        color: rgb(1, 134, 187);
      }
    }

    .mh-middle {
      font-size: 30px;
    }

    .mh-left,
    .mh-right {
      width: 450px;
    }
  }

  .main-container {
    height: calc(~"100% - 80px");

    .border-box-content {
      padding: 20px;
      box-sizing: border-box;
      display: flex;
    }
  }

  .left-chart-container {
    width: 30%;
    padding: 10px;
    box-sizing: border-box;

    .border-box-content {
      flex-direction: column;
    }
  }

  .right-main-container {
    width: 70%;
    padding-left: 5px;
    box-sizing: border-box;
  }

  .rmc-top-container {
    height: 65%;
    display: flex;
  }

  .rmctc-left-container {
    width: 60%;
  }

  .rmctc-right-container {
    width: 40%;
  }

  .rmc-bottom-container {
    height: 35%;
  }

  .rmctc-chart-1 {
    height: 100%;
  }
}
</style>
